package com.yc.supermarket.service;


import com.yc.supermarket.entity.Admin;
import com.yc.supermarket.entity.User;

import java.util.Map;

public interface IUserService {
    int login(User user);
    int admlogin(Admin admin);

    int addUser(User user);
    int usermodify(User user);
    Map<String, Object> find(Map<String, Object> map);
}
